#pragma once

#include "../../pictureui/normalui/dialogchildbase.h"
#include "../../pictureui/normalui/customstatic.h"
#include "../../pictureui/normalui/pictureedit.h"
#include "../../pictureui/normalui/picturebutton.h"

#include "talk/examples/crossfirewall/cfcore.h"

// CDCStatusDlg dialog

class CDCAccountDlg : public CDialogChildBase
{
public:
	CDCAccountDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDCAccountDlg();

// Dialog Data
	enum { IDD = IDD_DC_ACCOUNT };

private:
	static void OnLoginStatusCallback(const struct status_msg);
	static void OnRosterStatusCallback(const char* jid, int sid, const char* pcname, const char* status);
	static void OnCallStatusCallback(const char* jid, int state);

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	virtual bool OnInitChildControls();

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedBtnSignin();

	CCustomStatic m_stcStatus;
	CCustomStatic m_stcGmail;
	CCustomStatic m_stcPass;

	CPictureEdit m_edtGmail;
	CPictureEdit m_edtPass;

	CPictureButton m_btnSignin;

	CFCore core;
};
